﻿//------------------------------------------------------------------------------
// <pcdd-entitiy>
//     视图实体类库
//     账号实体对象
// </pcdd-entitiy>
//------------------------------------------------------------------------------

using System;
using Dapper;

namespace CL.View.Entity.Business
{
    /// <summary>
    /// udv_Account 视图
    /// </summary>
    public class udv_Account
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        public int AccountID { get; set; }

        /// <summary>
        /// 账号登录
        /// </summary>
        public string AccountCode { get; set; }

        /// <summary>
        /// 账号密码
        /// </summary>
        public string AccountPwd { get; set; }

        /// <summary>
        /// 真实姓名
        /// </summary>
        public string FullName { get; set; }

        /// <summary>
        /// 身份证
        /// </summary>
        public string IdentityID { get; set; }

        /// <summary>
        /// 银行名称
        /// </summary>
        public string BankName { get; set; }

        /// <summary>
        /// 银行卡
        /// </summary>
        public string BankCard { get; set; }


        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 推广链接
        /// </summary>
        public string Links { get; set; }

        /// <summary>
        /// 累计佣金
        /// </summary>
        public long TotalAmount { get; set; }


        /// <summary>
        /// 账号状态: 0.待审核(不可结算佣金) 1.正常(可结算佣金) 2.禁用(不可结算佣金)
        /// </summary>
        public int AccountStatus { set; get; }
    }
}
